<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Screen</title>
    <style>
      .game-container {
        width: 1000px;
        height: 1000px;
        border: solid;
      }
      .controls {
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        display: flex;
        flex-direction: column;
      }
    </style>
  </head>
  <body>
    <div class="game-container">
      <canvas id="game"></canvas>
    </div>
    <div class="controls">
      <p>The game screen should resize to fit the bordered rectangle and maintain aspect ratio</p>
      <label for="containerWidth">Width (vw):</label>
      <input id="containerWidth" name="containerWidth" type="range" min="1" max="100" />
      <label for="containerHeight">Height (vh):</label>
      <input id="containerHeight" name="containerHeight" type="range" min="1" max="100" />
    </div>

    <script type="module" src="./screen.js"></script>
  </body>
</html>
